//
//  KKAlertView.h
//  Mice
//
//  Created by mac on 14/10/31.
//  Copyright (c) 2014年 Juvid. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void (^KKAlertViewSureBolck)(void);
typedef void (^KKAlertViewCancleBolck)(void);

@interface KKAlertView : NSObject

+ (instancetype)shareInterce;

- (void)showWithTitle:(NSString*)title andWithMessage:(NSString*)message andWithCancelTitle:(NSString*)cancle andWithCancelHandle:(KKAlertViewCancleBolck)cancelHandle andWithSureTitle:(NSString*)sure andWithSureHandle:(KKAlertViewSureBolck)sureHandle;
@end


typedef void(^KKResultAlertViewBlock)(void);

@interface KKResultAlertView : UIView

+ (instancetype)sharedInstance;

- (void)alertViewShowMessage:(NSString*)message andWithSuccessful:(BOOL)successful andWithCallBack:(KKResultAlertViewBlock)block;

@end